from django.urls import path
from .views import provider_stripe_api, card_list_api, card_detail_api, connect_stripe_account, change_default_api, \
    provider_stripe_view_api, provider_stripe_status, connect_stripe_account_api, list_stripe_customer, change_default_payment

app_name = 'payment'

urlpatterns = [
    path('provider-stripe-accounts', provider_stripe_api, name='provider_stripe'),
    path('card', card_list_api),
    path('card/<card_id>', card_detail_api),
    path('connect-account', connect_stripe_account),
    path('provider-stripe', provider_stripe_view_api),
    path('provider-stripe/change-default', change_default_api),
    path('provider-stripe-status', provider_stripe_status),
    path('connect-stripe-account', connect_stripe_account_api),
    path('client-stripe', list_stripe_customer, name='list_stripe_customer'),
    path('client-stripe/change-default', change_default_payment, name='change_default_payment'),
]
